<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
	<title>任务执行日志</title>
	<link rel="stylesheet" href="/css/bootstrap.min.css">
    <link rel="stylesheet" href="/css/bootstrap-table.min.css">
	<style type="text/css">
			.main{
				padding: 60px;
			}
    </style>
	<script src="/js/jquery-1.11.0.min.js"/>
    <script src="/js/bootstrap.min.js"></script>
    <script src="/js/bootstrap-table.min.js"></script>
    <script src="/js/bootstrap-table-zh-CN.min.js"></script>
</head>
<body>
<div class="main">
<table class="table table-striped">
   <thead>
		<tr>
          <th>序号</th>
          <th>任务动作</th>
	      <th>步骤code</th>
	      <th>步骤名称</th>
	      <th>执行结果</th>
	      <th>错误信息</th>
	      <th>错误栈</th>
	      <th>开始执行时间</th>
	      <th>结束执行时间</th>
	      <th>执行主机</th>
		</tr>
   </thead>
   <tbody>
	<#list items as log>
		<tr>
			<th>${log_index}</th>
			<th>${log.jobActionName!}</th>
            <th></th>
        	<th></th>
        	<th></th>
        	<th></th>
        	<th></th>
        	<th>${log.execStartTimeFormat!}</th>
            <th>${log.execEndTimeFormat!}</th>
        	<th></th>
        </tr>
        <#list log.listJobStepLogs as stepLog>
        <tr>
        	<th></th>
        	<th></th>
			<th>${stepLog.jobStepCode!}</th>
			<th>${stepLog.jobStepName!}</th>
			<th>${stepLog.jobStepResultFlagName!}</th>
			<th>${stepLog.errMsg!}</th>
            <th>${stepLog.errStack!}</th>
            <th>${stepLog.execStartTimeFormat!}</th>
            <th>${stepLog.execEndTimeFormat!}</th>
            <th>${stepLog.creator!}</th>
		</tr>
		</#list>
	</#list>
   </tbody>
</table>
</div>
</body>
</html>